package com.wm.dao;

import java.util.List;

import com.wm.bean.Comment;
import com.wm.bean.Restaurant;

public interface CommentDao {
	public  List<Comment> listComment(String hql);
	public void update(Comment comment);
	public void save(Comment comment);
	public int getCommentPages(int maxResults);
	public int getCommentPagesWithHql(int maxResults, String hql);

	public List<Comment> getComments(int beginNum, int maxResults);
	
	
}
